﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Items;
using SingleUserMall.Sign;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Sign.VO
{
    [AutoMapFrom(typeof(Signed))]
    public class SignViewVO : EntityDto<long>
    {
        /// <summary>
        /// 最近签到日期
        /// </summary>
        public DateTime SignTime { get; set; }
        /// <summary>
        /// 累计签到天数
        /// </summary>
        public int SignDays { get; set; }
        /// <summary>
        /// 今日是否签到
        /// </summary>
        public bool IsTodaySign{ get; set; }
        /// <summary>
        /// 昨日是否签到
        /// </summary>
        public bool IsYesterdaySign { get; set; }
        /// <summary>
        /// 总共积分数
        /// </summary>
        public decimal TotalPoint { get; set; }
        /// <summary>
        /// 今日签到获得积分数量
        /// </summary>
        public decimal SignPoint { get; set; }
        /// <summary>
        /// 昨日签到获得积分数量
        /// </summary>
        public decimal YesterDaySignPoint { get; set; }
        /// <summary>
        /// 以后签到获得积分数量
        /// </summary>
        public decimal AfterDaySignPoint { get; set; }
    }
}
